home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / cat3 / SCSL / dlatdf.z / dlatdf
Encoding:
Text File  |  2002-10-03  |  6.2 KB  |  199 lines

  1.  
  2.  
  3.  
  4. DDDDLLLLAAAATTTTDDDDFFFF((((3333SSSS))))                                                          DDDDLLLLAAAATTTTDDDDFFFF((((3333SSSS))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      DLATDF - use the LU factorization of the n-by-n matrix Z computed by
  10.      DGETC2 and computes a contribution to the reciprocal Dif-estimate by
  11.      solving Z * x = b for x, and choosing the r.h.s
  12.  
  13. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  14.      SUBROUTINE DLATDF( IJOB, N, Z, LDZ, RHS, RDSUM, RDSCAL, IPIV, JPIV )
  15.  
  16.          INTEGER        IJOB, LDZ, N
  17.  
  18.          DOUBLE         PRECISION RDSCAL, RDSUM
  19.  
  20.          INTEGER        IPIV( * ), JPIV( * )
  21.  
  22.          DOUBLE         PRECISION RHS( * ), Z( LDZ, * )
  23.  
  24. IIIIMMMMPPPPLLLLEEEEMMMMEEEENNNNTTTTAAAATTTTIIIIOOOONNNN
  25.      These routines are part of the SCSL Scientific Library and can be loaded
  26.      using either the -lscs or the -lscs_mp option.  The -lscs_mp option
  27.      directs the linker to use the multi-processor version of the library.
  28.  
  29.      When linking to SCSL with -lscs or -lscs_mp, the default integer size is
  30.      4 bytes (32 bits). Another version of SCSL is available in which integers
  31.      are 8 bytes (64 bits).  This version allows the user access to larger
  32.      memory sizes and helps when porting legacy Cray codes.  It can be loaded
  33.      by using the -lscs_i8 option or the -lscs_i8_mp option. A program may use
  34.      only one of the two versions; 4-byte integer and 8-byte integer library
  35.      calls cannot be mixed.
  36.  
  37. PPPPUUUURRRRPPPPOOOOSSSSEEEE
  38.      DLATDF uses the LU factorization of the n-by-n matrix Z computed by
  39.      DGETC2 and computes a contribution to the reciprocal Dif-estimate by
  40.      solving Z * x = b for x, and choosing the r.h.s. b such that the norm of
  41.      x is as large as possible. On entry RHS = b holds the contribution from
  42.      earlier solved sub-systems, and on return RHS = x.
  43.  
  44.      The factorization of Z returned by DGETC2 has the form Z = P*L*U*Q, where
  45.      P and Q are permutation matrices. L is lower triangular with unit
  46.      diagonal elements and U is upper triangular.
  47.  
  48.  
  49. AAAARRRRGGGGUUUUMMMMEEEENNNNTTTTSSSS
  50.      IJOB    (input) INTEGER
  51.              IJOB = 2: First compute an approximative null-vector e of Z using
  52.              DGECON, e is normalized and solve for Zx = +-e - f with the sign
  53.              giving the greater value of 2-norm(x). About 5 times as expensive
  54.              as Default.  IJOB .ne. 2: Local look ahead strategy where all
  55.              entries of the r.h.s. b is choosen as either +1 or -1 (Default).
  56.  
  57.      N       (input) INTEGER
  58.              The number of columns of the matrix Z.
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. DDDDLLLLAAAATTTTDDDDFFFF((((3333SSSS))))                                                          DDDDLLLLAAAATTTTDDDDFFFF((((3333SSSS))))
  71.  
  72.  
  73.  
  74.      Z       (input) DOUBLE PRECISION array, dimension (LDZ, N)
  75.              On entry, the LU part of the factorization of the n-by-n matrix Z
  76.              computed by DGETC2:  Z = P * L * U * Q
  77.  
  78.      LDZ     (input) INTEGER
  79.              The leading dimension of the array Z.  LDA >= max(1, N).
  80.  
  81.      RHS     (input/output) DOUBLE PRECISION array, dimension N.
  82.              On entry, RHS contains contributions from other subsystems.  On
  83.              exit, RHS contains the solution of the subsystem with entries
  84.              acoording to the value of IJOB (see above).
  85.  
  86.      RDSUM   (input/output) DOUBLE PRECISION
  87.              On entry, the sum of squares of computed contributions to the
  88.              Dif-estimate under computation by DTGSYL, where the scaling
  89.              factor RDSCAL (see below) has been factored out.  On exit, the
  90.              corresponding sum of squares updated with the contributions from
  91.              the current sub-system.  If TRANS = 'T' RDSUM is not touched.
  92.              NOTE: RDSUM only makes sense when DTGSY2 is called by STGSYL.
  93.  
  94.      RDSCAL  (input/output) DOUBLE PRECISION
  95.              On entry, scaling factor used to prevent overflow in RDSUM.  On
  96.              exit, RDSCAL is updated w.r.t. the current contributions in
  97.              RDSUM.  If TRANS = 'T', RDSCAL is not touched.  NOTE: RDSCAL only
  98.              makes sense when DTGSY2 is called by DTGSYL.
  99.  
  100.      IPIV    (input) INTEGER array, dimension (N).
  101.              The pivot indices; for 1 <= i <= N, row i of the matrix has been
  102.              interchanged with row IPIV(i).
  103.  
  104.      JPIV    (input) INTEGER array, dimension (N).
  105.              The pivot indices; for 1 <= j <= N, column j of the matrix has
  106.              been interchanged with column JPIV(j).
  107.  
  108. FFFFUUUURRRRTTTTHHHHEEEERRRR DDDDEEEETTTTAAAAIIIILLLLSSSS
  109.      Based on contributions by
  110.         Bo Kagstrom and Peter Poromaa, Department of Computing Science,
  111.         Umea University, S-901 87 Umea, Sweden.
  112.  
  113.      This routine is a further developed implementation of algorithm BSOLVE in
  114.      [1] using complete pivoting in the LU factorization.
  115.  
  116.      [1] Bo Kagstrom and Lars Westin,
  117.          Generalized Schur Methods with Condition Estimators for
  118.          Solving the Generalized Sylvester Equation, IEEE Transactions
  119.          on Automatic Control, Vol. 34, No. 7, July 1989, pp 745-751.
  120.  
  121.      [2] Peter Poromaa,
  122.          On Efficient and Robust Estimators for the Separation
  123.          between two Regular Matrix Pairs with Applications in
  124.          Condition Estimation. Report IMINF-95.05, Departement of
  125.          Computing Science, Umea University, S-901 87 Umea, Sweden, 1995.
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136. DDDDLLLLAAAATTTTDDDDFFFF((((3333SSSS))))                                                          DDDDLLLLAAAATTTTDDDDFFFF((((3333SSSS))))
  137.  
  138.  
  139.  
  140. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  141.      INTRO_LAPACK(3S), INTRO_SCSL(3S)
  142.  
  143.      This man page is available only online.
  144.  
  145.  
  146.  
  147.  
  148.  
  149.  
  150.  
  151.  
  152.  
  153.  
  154.  
  155.  
  156.  
  157.  
  158.  
  159.  
  160.  
  161.  
  162.  
  163.  
  164.  
  165.  
  166.  
  167.  
  168.  
  169.  
  170.  
  171.  
  172.  
  173.  
  174.  
  175.  
  176.  
  177.  
  178.  
  179.  
  180.  
  181.  
  182.  
  183.  
  184.  
  185.  
  186.  
  187.  
  188.  
  189.  
  190.  
  191.  
  192.  
  193.  
  194.  
  195.                                                                         PPPPaaaaggggeeee 3333
  196.  
  197.  
  198.  
  199.